Skip to content

Conversation

mark-vieira
Copy link
Contributor

When setting up entitlements for tests we are calling Configuration.isEmpty() which attempts to resolve the configuration. We want to avoid eager resolution of dependencies during task configuration as it is deprecated behavior and causes issues like this one.

We can avoid this by making the input for this file collection optional and wrapping usages of it in providers.

@mark-vieira mark-vieira added the >test Issues or PRs that are addressing/adding tests label Aug 27, 2025
@mark-vieira mark-vieira requested a review from a team as a code owner August 27, 2025 19:09
@mark-vieira mark-vieira added :Delivery/Build Build or test infrastructure auto-backport Automatically create backport pull requests when merged :Core/Infra/Entitlements Entitlements infrastructure v9.1.4 v9.0.7 v8.19.4 labels Aug 27, 2025
@elasticsearchmachine elasticsearchmachine added Team:Core/Infra Meta label for core/infra team Team:Delivery Meta label for Delivery team v9.2.0 labels Aug 27, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mark-vieira mark-vieira enabled auto-merge (squash) August 27, 2025 19:37
@mark-vieira mark-vieira merged commit 072d5fd into elastic:main Aug 27, 2025
34 checks passed
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
9.1
9.0 Commit could not be cherrypicked due to conflicts
8.19

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 133678

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged backport pending :Core/Infra/Entitlements Entitlements infrastructure :Delivery/Build Build or test infrastructure Team:Core/Infra Meta label for core/infra team Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v8.19.4 v9.0.7 v9.1.4 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants